import React, { useContext } from "react"
import { appContext } from "../../AppState"

const TestContext = () => {
	const ctx = useContext(appContext)

	return (
		<>
			<h1>{ctx.state.name}</h1>
			<h1>{ctx.state.age}</h1>
		</>
	)
}

export default TestContext
